<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<c:choose>
<c:when test="${!empty dataList && fn:length(dataList) ne 0}">
	<table class="table table-hover table-striped c_666">
		<thead>
			<tr>
				<th>平台</th>
				<th>概要</th>
				<th>详情</th>
				<th>时间</th>
				<th>提交人</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach var="dishonesty" items="${dataList}" varStatus="index">
			<tr>
				<td>
					<a href="<%=path %>/uncheck/dishonesty/view/${dishonesty.dishonesty_id}">${dishonesty.platform_name}</a>
				</td>
				<td>
					<a  href="<%=path %>/uncheck/dishonesty/view/${dishonesty.dishonesty_id}">${dishonesty.dishonesty_title}</a>
				</td>
				<td>
					<a  href="<%=path %>/uncheck/dishonesty/view/${dishonesty.dishonesty_id}">查看</a>
				</td>
				<td><fmt:formatDate value="${dishonesty.dishonesty_time}" pattern="yyyy-MM-dd"/></td>
				<td>${dishonesty.publish_user_name}</td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
	<p:pagination pageNo="${paramMap.pageNo}" pageCount="${paramMap.pageCount}" queryFunction="queryDishonestyList"></p:pagination>
</c:when>
<c:otherwise>
	<table class="table table-hover table-striped c_666">
		<thead>
			<tr>
				<th>平台</th>
				<th>概要</th>
				<th>详情</th>
				<th>时间</th>
				<th>提交人</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td colspan="5" align="center">
					暂无数据
				</td>
			</tr>
		</tbody>
	</table>
</c:otherwise>
</c:choose>